<%@ page import="top.liuzhenyu.study.javawebjdbc.dao.TbComputerDAO" %><%--
  Created by IntelliJ IDEA.
  User: liuzhenyu
  Date: 2024/6/3
  Time: 10:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    request.setCharacterEncoding("utf-8");
    Integer id = Integer.parseInt(request.getParameter("id"));
    TbComputerDAO.delete(id);
    response.sendRedirect("list.jsp");
%>

</body>
</html>
